From: Ian Campbell Date: Tue, 22 Sep 2015 11:37:16 +0000 (+0100) Subject: tools/libs/call: Update some log messages to not refer to xc. X-Git-Tag: archive/raspbian/4.8.0-1+rpi1~1^2~1880 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/success//%22http:/www.example.com/cgi/success/?a=commitdiff_plain;h=9eb88fad0df7de017a52a634649c294f7a2561f7;p=xen.git tools/libs/call: Update some log messages to not refer to xc. Signed-off-by: Ian Campbell Acked-by: Wei Liu --- diff --git a/tools/libs/call/linux.c b/tools/libs/call/linux.c index 55e1e83cec..3641e417a2 100644 --- a/tools/libs/call/linux.c +++ b/tools/libs/call/linux.c @@ -94,7 +94,7 @@ void *osdep_alloc_pages(xencall_handle *xcall, size_t npages) p = mmap(NULL, size, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_LOCKED, -1, 0); if ( p == MAP_FAILED ) { - PERROR("xc_alloc_hypercall_buffer: mmap failed"); + PERROR("alloc_pages: mmap failed"); return NULL; } @@ -103,7 +103,7 @@ void *osdep_alloc_pages(xencall_handle *xcall, size_t npages) rc = madvise(p, npages * PAGE_SIZE, MADV_DONTFORK); if ( rc < 0 ) { - PERROR("xc_alloc_hypercall_buffer: madvise failed"); + PERROR("alloc_pages: madvise failed"); goto out; }